package cn.tedu.csmall.stock.webapi;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableDubbo
//如果当前项目是Dubbo服务的生产者必须加@EnableDubbo
//单纯的消费者不需要加
@SpringBootApplication
//@EnableKafka
//// 为了测试kafka,我们可以周期性的发送消息到消息队列,使用SpringBoot自带的调度根据即可
//@EnableScheduling
public class CsmallStockWebapiApplication {

    public static void main(String[] args) {
        SpringApplication.run(CsmallStockWebapiApplication.class, args);
    }

}
